import execjs

with open('百度翻译.js', 'r', encoding='utf-8') as f:
    js_content = f.read()

    content = execjs.compile(js_content)

    ret = content.call('e', "It's hard to change, but it's worth the risk")
    print(ret)

